body,ul,html  {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}


.bili-header__bar {
    background-color: #fff;  /* 初始背景透明 */
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%; /* 宽度覆盖整个页面 */
    height: 60px; /* 固定高度 */
    padding: 0 20px; /* 左右间距 */
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    transition: background-color 0.3s, color 0.3s; /* 平滑过渡效果 */
}

.bili-header__bar.sticky {
    background-color: white; /* 滚动后背景变为白色 */
}

.bili-header__bar.sticky .entry-title, 
.bili-header__bar.sticky .default-entry,
.bili-header__bar.sticky .user-ui span,
.bili-header__bar.sticky .left-entry span,
.bili-header__bar.sticky .icon {
    color: black; /* 滚动后字体颜色变为黑色 */
}
.bili-header__bar.sticky .left-entry li:nth-child(5) span {
    color: #fb7299; /* 滚动时第5个菜单项的颜色 */
}



.bili-header__bar > div {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 第一个和最后一个子容器样式 */
.bili-header__bar > div:first-child,
.bili-header__bar > div:last-child {
    flex: 0 1 auto; 
}


.left-entry .default-entry,
.left-entry .entry-title,
.left-entry .download-entry, 
.left-entry .default-entry {
    height: 64px;
    line-height: 64px;
    color: #000000;  
    font-size: 14px;
    cursor: pointer;
}
.icon {
    width: 20px;
    height: 20px;
    vertical-align: -0.15em;
    fill: currentColor;
}
.bili-header__bar .left-entry,
.bili-header__bar .right-entry {
    flex: 1; /* 左右部分占用相等的空间 */
    background-color: transparent !important; 
}



.right-entry .user-ui {
    display: flex;
    flex-direction: column; /* 设置子元素垂直排列，图片在文字上方 */
    align-items: center; /* 水平居中对齐 */
    justify-content: center;
}

.right-entry .user-ui span {
    writing-mode: horizontal-tb; 
    white-space: nowrap;
}

a {
    text-decoration: none;
    margin: 0 10px 0 0;
}

.left-entry {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #000000;
    text-shadow: 0 1px 1px rgb(0 0 0 / 30%);
    height: 64px;
    padding: 0;
    margin-right: 10px;
}

.left-entry li {
    list-style: none; 
    cursor: pointer;
    white-space: nowrap;
    position: relative; 
    z-index: 10;
}
.left-entry li:nth-child(5) span {
    color: #fb7299;
}

.icon ,.icondown{
    width: 20px;
    height: 20px;
    vertical-align: -0.15em;
    fill: currentColor;
    overflow: hidden; 
}
.v-popover-wrap {
  display: inline-block; /* 确保元素可以被定位 */
  transition: transform 0.3s ease; /* 设置平滑过渡效果 */
}

/* 当鼠标悬浮时 */
.v-popover-wrap:hover {
  animation: bounce 0.5s ease-in-out;
}

/* 定义跳动的动画 */
@keyframes bounce {
  0% {
    transform: translateY(0); /* 初始位置 */
  }
  50% {
    transform: translateY(-10px); /* 向上跳动10px */
  }
  100% {
    transform: translateY(0); /* 回到原位置 */
  }
}

/* 搜索框样式 */
.center-search-container {
    box-sizing: border-box;
    color: rgb(24, 25, 28);
    display: block;
    font-size: 14px;
    font-weight: 400;
    height: 40px;
    line-height: 22.4px;
    margin: 0;
    max-width: 500px;
    min-width: 181px;
    padding: 0;
    position: relative;
    width: 363px;
    
    
}

/* 搜索框外部样式 */
.nav-searchform {
    justify-content: flex-end;
    display: flex;
    background-color: rgb(241, 242, 243);
    border: 1px solid rgb(227, 229, 231);
    border-radius: 8px;
    width: 100%;
    height: 40px;
    padding: 0 48px 0 4px;
    position: relative;
    transition: background-color 0.3s ease;
}

.nav-searchform:hover {
    background-color: rgb(255, 255, 255); /* Hover效果 */
}

/* 搜索框内部样式 */
.nav-search-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    border: 2px solid transparent;
    border-radius: 6px;
}

/* 输入框样式 */
.nav-search-content input {
    width: 100%;
    height: 32px;
    padding: 0 8px;
    border-radius: 6px;
    border: 2px solid transparent;
    line-height: 38px;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

/* 搜索按钮样式 */
.nav-search-btn {
    position: absolute;
    right: 7px;
    top: 3px;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.nav-search-btn:hover {
    background-color: rgba(169, 169, 169, 0.5); /* Hover效果 */
}

/* 右侧入口样式 */
.right-entry {
    background-color: transparent; 
    display: flex;
    justify-content: flex-end; /* 确保从左到右排列 */
    align-items: center; /* 垂直居中对齐 */
    width: 100%; /* 盒子占满整个宽度 */
    height: 50px;
    margin: 0 0 0 10px; /* 去掉右边距，确保紧贴右侧 */
    padding: 0;
}

.user-left {
    display: flex;
    align-items: center;
    height: 50px;
    width: 50px;
    padding-right: 10px ;
    margin: 0;
    padding: 0 10px 0 0;
}

.carmer {
    border-radius: 50%;
    overflow: hidden;
    margin-right: 10px;
    cursor: pointer;
}


.user-mid {
    display: flex;
    align-items: center;
    justify-content: space-around; /* 平均分配空间 */
    width: auto; /* 允许自适应宽度 */
    margin: 0 ;
    height: 50px;
}

.user-mid .user-ui {
    display: flex; 
    flex-direction: row;
    align-items: center;
    color: #000; /* 默认颜色 */
    text-decoration: none; /* 去掉下划线 */
    transition: color 0.3s; /* 平滑过渡效果 */
}

.user-ui .icon {
    fill: #000; /* 图标默认颜色 */
    margin-right: 5px; /* 图标与文字之间的间距 */
    transition: fill 0.3s; /* 平滑过渡效果 */
}

.user-ui:hover {
    color: #fb7299; /* 鼠标悬浮时改变文字颜色 */
}

.user-ui:hover .icon {
    fill: #fb7299; /* 鼠标悬浮时改变图标颜色 */
}
.user-right {
    display: flex;
    align-items: center;
    margin-left: 10px; /* 推动到右边 */
}
.user-right a {
    color: rgb(0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap; 
}
/*中间*/
.tab {
    margin-top: 20px; /* 跟 header 高度一致，确保不重叠 */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; /* 居中内容 */
    background-color: #f7fcfc; /* 设置白色背景 */
    padding: 20px 0;
    box-sizing: border-box;
}

.tab .t-title {
    display: flex;
    justify-content: center;
    white-space: nowrap; /* 防止换行 */
}

.tab .t-title p {
    margin-right: 40px; /* 间距 */
    padding: 16px 0;
    font-size: 20px;
    line-height: 20px;
    color: #333; /* 默认颜色 */
    position: relative;
    display: inline-block;
    cursor: pointer;
    transition: color 0.3s; /* 添加颜色过渡效果 */
}

.tab .t-title .active {
    color: #fb7299; /* active 字体颜色 */
}

.tab .t-title .active::after {
    content: '';
    width: 30px; /* 下划线宽度 */
    height: 6px; /* 下划线高度 */
    background-color: #fb7299; /* 下划线颜色 */
    border-radius: 3px; /* 圆角效果 */
    position: absolute;
    bottom: -8px; /* 下划线位置 */
    left: calc(50% - 15px); /* 居中对齐 */
}
.product-list {
    color: rgb(24, 25, 28);
    display: flex;  /* 使用 flexbox 布局 */
    flex-wrap: wrap;  /* 使商品盒子换行 */
    justify-content: flex-start;
    gap: 16px;  /* 设置盒子之间的间距 */
    font-size: 12px;
    margin: 0 auto;
    padding: 32px 0 0;
    width: 1162px;
}

/* 商品盒子样式 */
.product-cards {
    background-color: #ffffff;
    box-shadow: rgba(0, 0, 0, 0.1) 2px 4px 8px 0px;
    text-align: center;
    background-position: 0% 0%;
    background-repeat: repeat;
    border-radius: 2px;
    color: rgb(24, 25, 28);
    font-size: 12px;
    height: 360px;
    width: 272px;  /* 设置盒子的固定宽度 */
}
/* 图片样式 */
.product-cards img {
    width: 272px;
    width: 272px; /* 图片自适应盒子宽度 */
    margin-bottom:8px ; /* 图片圆角 */
}

/* 标题样式 */
.product-cards .product-title {
    height: 40px;
    width: 248px;
    padding: 0;
    text-overflow: ellipsis;
    overflow: hidden;
    margin: 0 12px 8px 12px;
    font-size: 16px;
    color: rgb(24, 25, 28);
    display :-webkit-box;
    text-align: start;
}

.product-price{
    display: block;
    font-size: 12px;
    font-weight: 700;
    height: 20px;
    margin: 0;
    padding: 0 0 0 12px;
    
}


.product-price .unit {
    float: left;
    font-size: 14px;  
    line-height: 22px;
    color: #fb7299;  
    margin-top: 3px;  
}

/* 价格数字样式 */
.product-price .value {
    float: left;
    color: #fb7299;  
    font-size: 22px;  /* 设置价格数字的字体大小 */
    font-weight: 700;
    line-height: 22px;
}
.whole-pagination-wrapper {
    display: flex;
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
    margin-top: 30px;
    padding: 10px 0;
    font-size: 14px;
    color: #666;
}

.whole-pagination-wrapper .page-control,
.whole-pagination-wrapper .page-number {
    margin: 0 8px; /* 间距 */
    padding: 6px 12px;
    cursor: pointer;
    border-radius: 4px;
    border: 1px solid transparent; /* 默认无边框 */
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.whole-pagination-wrapper .page-number:hover,
.whole-pagination-wrapper .page-control:hover {
    background-color: #fb7299; /* 悬浮时背景色 */
    color: #f7fcfc;
    border-color: #fb7299; /* 显示边框 */
}

.whole-pagination-wrapper .page-number.active {
    background-color: #fb7299; /* 当前页背景色 */
    color: #f7fcfc;
    border-color: #fb7299; /* 当前页边框 */
}
/* 结尾 */
footer {
width: 100%;
/* height: 500px; */
background-color: #f6f9fa;
}

.end-wrapepr {
width: 1226px;
/* height: 500px; */
/* background-color: skyblue; */
margin: 0 auto;
padding: 35px 0;
}

.end-header {
display: flex;
width: 100%;
/* height: 300px; */
justify-content: space-between;
}

.end-header div {
width: 30%;
height: 150px;
/* background-color: pink; */
}

.end-title {
font-size: 16px;
color: #999;
margin-bottom: 20px;
}

.aboutSection {
width: 318px;
display: flex;
flex-wrap: wrap;
}

.aboutSection li {
width: 50%;
font: 14px "Helvetica Neue", Helvetica, Arial, "Microsoft Yahei",
    "Hiragino Sans GB", "Heiti SC", "WenQuanYi Micro Hei", sans-serif;
margin-bottom: 10px;
color: #212121;
transition: color 0.3s;
cursor: pointer;
}

.aboutSection li:hover {
color: #00a1d6;
}

.s-2 {
width: 100%;
}
.s-2 li {
width: 33.3%;
}

.downloadWrapper { 
display: flex;
justify-content: center;
align-items: center;
}

.download {
display: flex;
width: 100%;
justify-content: space-around;
}

.download li {
display: flex;
flex-direction: column; /* 使图标和文字垂直排列 */
align-items: center; /* 使图标和文字居中对齐 */
}

.dicon-wrapper {
width: 50px !important;
height: 50px !important;
border-radius: 50%; /* 圆形边框 */
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 10px;
}

.download li.download-app .dicon-wrapper {
background-color: #585f69; /* 黑色背景 */
}

.download li.sina-weibo .dicon-wrapper {
background-color: #e30a17; /* 红色背景 */
}

.download li.weixin .dicon-wrapper {
background-color: #1aad19; /* 绿色背景 */
}

.download li p {
transition: color 0.3s;
cursor: pointer;
text-align: center;
font: 14px "Helvetica Neue", Helvetica, Arial, "Microsoft Yahei",
    "Hiragino Sans GB", "Heiti SC", "WenQuanYi Micro Hei", sans-serif;
margin-top: 5px; /* 给文字一个小的间距，避免它和图标太贴近 */
}

.download li:hover p {
color: #00a1d6;
}
.dicon {
width: 20px;
height: 20px;
vertical-align: -0.15em;
fill: white;
overflow: hidden;
}